<template>
	<view>
		<view class="listItem"
			v-for="(item,index) in answerList"
			:key="index"
		>
			<view class="quesWrap">
				<view class="listItemTop hasFlex">
					<view class="itemImg hasFlex">
						<view class="headImg"> 
							<image class="samePar" v-if="item.userPortrait == ''" src="../../../../static/images/defHead.png"></image>
							<image class="samePar" v-else :src="getCloudFilePath(item.userPortrait)"></image>
						</view>
						<view class="usename">{{item.realName}}</view>
					</view>
					<view class="pubTime">{{item.addTime}}</view> 
				</view>
				<view class="itemCon"><jyf-parser :html="item.askContent" :selectable="true"></jyf-parser></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			answerList:Array
		}
	}
</script>

<style lang='scss' scoped> 
	@import '@/static/scss/zxsPj.scss'; 
</style>